Class {
	#name : 'ClyExpandClassDefinitionCommand',
	#superclass : 'SycSingleClassCommand',
	#category : 'Calypso-SystemTools-Core-Commands-Classes',
	#package : 'Calypso-SystemTools-Core',
	#tag : 'Commands-Classes'
}

{ #category : 'activation' }
ClyExpandClassDefinitionCommand class >> contextMenuActivation [
	<classAnnotation>

	^CmdContextMenuActivation byRootGroupItemOrder: -20 for: ClyClassDefinitionContext 
]

{ #category : 'activation' }
ClyExpandClassDefinitionCommand class >> sourceCodeMenuActivation [
   <classAnnotation>
   ^SycSourceCodeMenuActivation byRootGroupItemOrder: -100 for: ClyClassDefinitionContext
]

{ #category : 'activation' }
ClyExpandClassDefinitionCommand class >> sourceCodeShortcutActivation [
   <classAnnotation>

   ^CmdShortcutActivation by: $e meta for: ClyClassDefinitionContext
]

{ #category : 'accessing' }
ClyExpandClassDefinitionCommand >> applyResultInContext: aToolContext [

	super applyResultInContext: aToolContext.
	aToolContext tool pendingText: aToolContext tool editingClass expandedDefinitionString
]

{ #category : 'accessing' }
ClyExpandClassDefinitionCommand >> defaultMenuIconName [
	^#browse
]

{ #category : 'accessing' }
ClyExpandClassDefinitionCommand >> defaultMenuItemName [

	^ 'Expand class definition'
]

{ #category : 'accessing' }
ClyExpandClassDefinitionCommand >> description [

	^ 'Expands the fluid definition to include all possible elements and shows the default values'
]

{ #category : 'accessing' }
ClyExpandClassDefinitionCommand >> execute [
	"
	empty on purpose logic is in applyResultInContext:
	"
]
